let getDictLabel = (value, arr, key, key2 = 'name') => {
	let ret = '';
	let item = {};
	
	if (value !== undefined) {
		item = arr.find(item => item[key] == value);
		ret = item ? item[key2] : ''
	}
	
	return ret;
}

export default {
	getDictLabel
}
